package com.alks.function.mapper.finance.fincons;

import com.alks.function.data.dto.finance.fincons.PaymentDetailsDto;
import com.alks.function.data.request.finance.fincons.AnnualPayableRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AnnualPayableMapper {

    /*查询付款明细/月份--厂商为空的情况*/
    List<PaymentDetailsDto> getPaymentDetailsAndMonthAndAmount(@Param("companyId") String companyId, @Param("request") AnnualPayableRequest request);

    /*查询付款明细/月份--厂商不为空的情况*/
    List<PaymentDetailsDto> getPaymentDetailsAndMonthAndAmountByVendor(@Param("companyId") String companyId, @Param("request") AnnualPayableRequest request);
}
